package com.jia.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 *
 * @TableName t_ecards
 */
@TableName(value ="t_ecards")
@Data
public class Ecards implements Serializable {
    /**
     * 电卡产品类型表
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 产品名称
     */
    @TableField(value = "name")
    private String name;

    /**
     * 价格
     */
    @TableField(value = "price")
    private Integer price;

    /**
     * 可使用次数
     */
    @TableField(value = "count")
    private Integer count;

    /**
     * 有效期(单位:月)
     */
    @TableField(value = "keeptime")
    private Integer keeptime;

    /**
     * 状态：0上架 1：下架
     */
    @TableField(value = "state")
    private Integer state;

    /**
     * 冗余
     */
    @TableField(value = "r")
    private String r;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
